<!DOCTYPE html>
<html lang="zh-cn">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>{:lang("[title]")} - by bbcms.luoe.cn</title>
    
    <!-- Bootstrap -->
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css">
    <link rel="stylesheet" href="__Tpl__/css/luoe.css">
    <script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
    <script src="https://cdn.bootcss.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js"></script>
  </head>
  <body>
  
<header class="main">
  <nav class="navbar navbar-toggleable-md  navbar-inverse  bg-inverse">
  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
    <span class="navbar-toggler-icon"></span>
  </button>

  <div class="collapse navbar-collapse" id="navbarSupportedContent">
    <ul class="navbar-nav mr-auto">
        {php}$system_menu = config('menu.');{/php}
		{foreach name="system_menu" item="val"}
        <li class="nav-item dropdown">
        <a class="nav-link dropdown-toggle" href="javascript:;" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">{$key|lang}</a>
            <div class="dropdown-menu">
            	{foreach name="val" key='key2' item="val2"}
                	<a href="{:url($val2)}" class="dropdown-item">{:lang($key2)}</a>
                {/foreach}
            </div>
        </li>
        {/foreach}

    </ul>
    
    <ul class="nav navbar-nav" >
      <li class="nav-item">
        <a href="{:url('/')}" target="_blank" class="nav-link">{:lang('首页')} </a>
      </li>
      <li class="nav-item">
        <a href="{:url('Login/out')}" class="nav-link">{:lang('注销')} </a>
      </li>
    </ul>
  </div>
</nav>
  
  
  
  <div class="container-fluid" style="margin:10px 0;">
	<h1>{:lang("[title]")}</h1>
  </div>
</header>